import { config } from '@/config'
import { http } from '@/utils/request'

export async function HttpQueryConfig(data: Record<string, any>) {
    return http({
        url: config.api + '/global/queryCompanyConfig',
        data,
    })
}
export async function HttpDeleteConfig(data: Record<string, any>) {
    return http({
        url: config.api + '/global/deleteConfig',
        data,
    })
}

export async function HttpSetConfig(data: Record<string, any>) {
    return http({
        url: config.api + '/global/setConfig',
        data,
    })
}

export async function HttpQueryVersion() {
    return http({
        url: config.api + '/global/queryVersion',
    })
}
